<%@ page import="com.wuax.domain.SysUser" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
    <link rel="shortcut icon" href="static/img/mcro.png"/>
    <meta charset="utf-8"/>
    <title>Axin图书管理系统</title>
    <link rel="stylesheet" href="static/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="static/css/index.css"/>
</head>
<body>
<div class="index-page">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">Axin图书管理系统</div>
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item layui-this"><a href="javascript:;" url="<%=request.getContextPath()%>/book/bookPage">图书管理</a></li>
                <li class="layui-nav-item"><a href="javascript:;" url="<%=request.getContextPath()%>/bookType/bookTypePage">分类管理</a></li>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;"><%=((SysUser) session.getAttribute("sys_user")).getNick()%>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="logout">退出登录</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
        <div class="layui-body">
            <iframe id="main_frame" src="<%=request.getContextPath()%>/book/bookPage"></iframe>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="static/library/jquery.min.js"></script>
<script type="text/javascript" src="static/layui/layui.js"></script>
<script type="text/javascript" src="static/js/index.js"></script>
</html>
